package com.totem.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Schema(description="基金订单")
@Data
public class FundOrderVO implements Serializable {
    @NotNull
    @Schema(description="下单金额")
    private BigDecimal amount;
    @NotEmpty
    @Schema(description="操作类型", example="MANUAL,AUTO,WITHDRAW,RETURN")
    private String operateType;

    private Date orderDate;
    @Schema(description="昵称")
    private String nickname;
    @Schema(description="国家码", example="86")
    private String countryCode;
    @Schema(description="手机号")
    private String mobile;
    @Schema(description="客户Id")
    private Long customerId;
    @Schema(description="邮箱")
    private String email;

    @Schema(description="支付状态", example="UNPAID,FINISHED,DISABLED")
    private String paymentState;
    @Schema(description="当前收益")
    private BigDecimal currentReturn;

    private String orderNo;
}
